//
//  CEIBarPlot.h
//  Balance
//
//  Created by Calvin Kuo on 12-05-31.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

/*
 Status: changed
 Last Merge Date: 05-30-2012
 Last Change Date: 
 Changes:
 Changes:
 1. new file
 */

#import <Foundation/Foundation.h>
#import "CorePlot-CocoaTouch.h"

@interface CEIBarPlot : NSObject<CPTPlotDataSource, CPTBarPlotDelegate>{
@private
    CPTGraph *graph;
    CPTBarPlot *currentPlot;  //CEI as of date
    CPTBarPlot *allPlot;  //CEI for all collectors as of date
    CPTBarPlot *priorPlot;  //CEI in prior year 
}


@property (nonatomic, retain) NSArray *country;
@property (nonatomic, retain) NSDictionary *countryCEI;
@property (nonatomic, retain) NSDictionary *allCEI;


- (id)initWithCountryNames:(NSArray *)countryNames andCurrentData:(NSDictionary *) currentData andAllCollectorsData:(NSDictionary *) allData;
- (void)renderInLayer:(CPTGraphHostingView *)layerHostingView withTheme:(CPTTheme *)theme;


@end
